package com.gzx.plugin.tjzy.modular.bank.service.impl;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.gzx.plugin.tjzy.modular.bank.bo.GzxBankInfoAddBo;
import com.gzx.plugin.tjzy.modular.bank.bo.GzxBankInfoQueryBo;
import com.gzx.plugin.tjzy.modular.bank.entity.GzxBankInfo;
import com.gzx.plugin.tjzy.modular.bank.mapper.GzxBankInfoMapper;
import com.gzx.plugin.tjzy.modular.bank.service.GzxBankInfoService;
import com.gzx.plugin.tjzy.modular.bank.vo.GzxBankInfoVo;
import org.springframework.stereotype.Service;
import vip.xiaonuo.common.mvc.service.impl.BaseServiceImpl;

import java.util.List;

/**
 * @author zjt
 * @description
 * @date 2025/3/18 09:22
 */
@Service
@DS("tjzy")
public class GzxBankInfoServiceImpl extends BaseServiceImpl<GzxBankInfoAddBo, GzxBankInfoVo, GzxBankInfoQueryBo, GzxBankInfoMapper, GzxBankInfo> implements GzxBankInfoService {
    public GzxBankInfoServiceImpl(GzxBankInfoMapper baseMapper) {
        super(baseMapper);
    }

    /**
     * 查询所有银行账户信息
     *
     * @return
     */
    @Override
    public List<GzxBankInfoVo> listAll(LambdaQueryWrapper<GzxBankInfo> queryWrapper) {
        return baseMapper.selectVoList(queryWrapper);
    }

    @Override
    protected LambdaQueryWrapper<GzxBankInfo> buildQueryWrapper(GzxBankInfoQueryBo queryBo) {
        return null;
    }
}
